package fileIO;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class serverIo {
	public static void main(String[] args) throws Exception {
//		BufferedReader input = new BufferedReader(new InputStreamReader(server.getInputStream()));
//		String line;
//		StringBuilder sb = new StringBuilder();
//		while ((line = input.readLine()) != null) {
//
//			if (line.equals("~~/START/~~"))
//				sb = new StringBuilder();
//			else if (line.equals("~~/EOR/~~")) {
//				doSthWithParagraph(sb.toString());
//				sb.delete(0, sb.length());
//			} else
//				sb.append(line);
//		}
	}
	public enum EnumWithAbstractMethodAndMembers {
	    TheOneAndOnly(1) {
//	    	int memberVariable;
	        @Override
	        public int addValue(final int value) {
	            return super.memberVariable + value;
	        }
	    };

	    final int memberVariable;

	    private EnumWithAbstractMethodAndMembers(final int memberVariable) {
	        this.memberVariable = memberVariable;
	    }

	    abstract int addValue(int value);

	}
	private static void doSthWithParagraph(String para) {

	}
}
